package cn.sofwin.day0123.homework.t02;
/**
 * 老师类
 * @author 仙女本仙
 * @email 1335651292@qq.com
 */
public class Teacher extends Person{

    public Teacher(String name, int age) {
        super(name, age);
    }

    public void work(){
        super.work();
        System.out.println("讲课，是一个老师");
    }

}
